package com.kongwg.day09_servlet2;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author kongwg
 * @create 2021-01-22 10:14
 */
public class HelloServlet3 implements Servlet {

    @Override
    public void init(ServletConfig config) throws ServletException {
        System.out.println("init.......");
    }

    @Override
    public ServletConfig getServletConfig() {
        return null;
    }

    @Override
    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
        System.out.println("service......");
    }

    @Override
    public String getServletInfo() {
        return null;
    }

    @Override
    public void destroy() {
        System.out.println("destroy........");
    }
}
